package com.mud.mudcommune.view.fragment.twoLevel;


import android.os.Bundle;
import android.support.v4.app.Fragment;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.Button;
import android.widget.Toast;

import com.mud.mudcommune.R;

import butterknife.BindView;
import butterknife.ButterKnife;
import butterknife.OnClick;

/**
 * A simple {@link Fragment} subclass.
 */
public class OrderDetailFragment extends Fragment {
    @BindView(R.id.order_follow)
    Button order_follow;
    private static Fragment fragment=new OrderDetailFragment();

    public static Fragment getInstance() {
        return fragment;
    }
    @Override
    public View onCreateView(LayoutInflater inflater, ViewGroup container,
                             Bundle savedInstanceState) {
        View view = inflater.inflate(R.layout.order_details, container, false);
        ButterKnife.bind(this,view);
        return view;
    }
    @OnClick(R.id.order_follow)
        public void OnClick(View view){
            switch (view.getId()) {
                case R.id.order_follow:
                    Toast.makeText(getActivity(),"当前功能尚未开发...",Toast.LENGTH_SHORT).show();
                    break;
            }
        }
}
